package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.MesFactory;

/**
 * editFactoryMapper接口
 * 
 * @author ruoyi
 * @date 2022-07-14
 */
public interface MesFactoryMapper 
{
    /**
     * 查询editFactory
     * 
     * @param id editFactory主键
     * @return editFactory
     */
    public MesFactory selectMesFactoryById(Long id);

    /**
     * 查询editFactory列表
     * 
     * @param mesFactory editFactory
     * @return editFactory集合
     */
    public List<MesFactory> selectMesFactoryList(MesFactory mesFactory);

    /**
     * 新增editFactory
     * 
     * @param mesFactory editFactory
     * @return 结果
     */
    public int insertMesFactory(MesFactory mesFactory);

    /**
     * 修改editFactory
     * 
     * @param mesFactory editFactory
     * @return 结果
     */
    public int updateMesFactory(MesFactory mesFactory);

    /**
     * 删除editFactory
     * 
     * @param id editFactory主键
     * @return 结果
     */
    public int deleteMesFactoryById(Long id);

    /**
     * 批量删除editFactory
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMesFactoryByIds(Long[] ids);

    /**
     * 工厂编号数字加一
     */
    public int findSiteNum();
}
